package me.zhengjie.modules.weixin.message.custom;

public class CustomMpNewsMessage extends AbstractCustomMessage {

    public CustomMpNewsMessage() {
        setMsgtype("mpnews");
    }

    public CustomMpNewsMessage(String meidaId) {
        this();
        this.mpnews = new MpNewsMessage(meidaId);
    }

    public CustomMpNewsMessage(MpNewsMessage mpnews) {
        this();
        this.mpnews = mpnews;
    }

    private MpNewsMessage mpnews;


    public MpNewsMessage getMpnews() {
        return mpnews;
    }

    public void setMpnews(MpNewsMessage mpnews) {
        this.mpnews = mpnews;
    }

    public static class MpNewsMessage {

        public MpNewsMessage() {
        }

        MpNewsMessage(String meidaId) {
            this.media_id = meidaId;
        }

        private String media_id;

        public String getMedia_id() {
            return media_id;
        }

        public void setMedia_id(String media_id) {
            this.media_id = media_id;
        }
    }

}
